/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

/**
 *
 * @author marcieli
 */
public class FrameOpcoes extends javax.swing.JFrame {

    /**
     * Creates new form Opcoes
     */
    public FrameOpcoes() {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(FrameOpcoes.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(FrameOpcoes.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(FrameOpcoes.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(FrameOpcoes.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenuItem1 = new javax.swing.JMenuItem();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        MenuPrincipalCidade = new javax.swing.JMenu();
        MenuAdcCidade = new javax.swing.JMenuItem();
        MenuAdcLista = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        MenuAdcLocais = new javax.swing.JMenuItem();
        MenuListaLocais = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        MenuAdcDet = new javax.swing.JMenuItem();
        MenuListaDet = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        MenuAdcSup = new javax.swing.JMenuItem();
        MenuListaSus = new javax.swing.JMenuItem();

        jMenuItem1.setText("jMenuItem1");

        setTitle("TchêLoque Ramos - Opções");

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/Soldado.gif"))); // NOI18N

        jLabel2.setFont(new java.awt.Font("Segoe Script", 1, 28)); // NOI18N
        jLabel2.setText("Escolha uma das opções");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(77, 77, 77)
                .addComponent(jLabel1)
                .addGap(37, 37, 37)
                .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 388, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(92, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(170, 170, 170)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1))
                .addContainerGap(216, Short.MAX_VALUE))
        );

        MenuPrincipalCidade.setText("Cidade");

        MenuAdcCidade.setText("Gerenciar");
        MenuAdcCidade.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuAdcCidadeActionPerformed(evt);
            }
        });
        MenuPrincipalCidade.add(MenuAdcCidade);

        MenuAdcLista.setText("Listar");
        MenuAdcLista.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuAdcListaActionPerformed(evt);
            }
        });
        MenuPrincipalCidade.add(MenuAdcLista);

        jMenuBar1.add(MenuPrincipalCidade);

        jMenu2.setText("Locais Visitados");

        MenuAdcLocais.setText("Gerenciar");
        MenuAdcLocais.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuAdcLocaisActionPerformed(evt);
            }
        });
        jMenu2.add(MenuAdcLocais);

        MenuListaLocais.setText("Listar");
        MenuListaLocais.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuListaLocaisActionPerformed(evt);
            }
        });
        jMenu2.add(MenuListaLocais);

        jMenuBar1.add(jMenu2);

        jMenu3.setText("Detetive");

        MenuAdcDet.setText("Gerenciar");
        MenuAdcDet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuAdcDetActionPerformed(evt);
            }
        });
        jMenu3.add(MenuAdcDet);

        MenuListaDet.setText("Listar");
        MenuListaDet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuListaDetActionPerformed(evt);
            }
        });
        jMenu3.add(MenuListaDet);

        jMenuBar1.add(jMenu3);

        jMenu4.setText("Suspeitos");

        MenuAdcSup.setText("Gerenciar");
        MenuAdcSup.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuAdcSupActionPerformed(evt);
            }
        });
        jMenu4.add(MenuAdcSup);

        MenuListaSus.setText("Listar");
        MenuListaSus.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MenuListaSusActionPerformed(evt);
            }
        });
        jMenu4.add(MenuListaSus);

        jMenuBar1.add(jMenu4);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void MenuAdcCidadeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuAdcCidadeActionPerformed
        Framecidade.setVisible(true);
        
        
    }//GEN-LAST:event_MenuAdcCidadeActionPerformed

    private void MenuAdcListaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuAdcListaActionPerformed
        listacid.setVisible(true);
       
    }//GEN-LAST:event_MenuAdcListaActionPerformed

    private void MenuListaDetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuListaDetActionPerformed
listadet.setVisible(true);

    }//GEN-LAST:event_MenuListaDetActionPerformed

    private void MenuAdcLocaisActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuAdcLocaisActionPerformed
        Framelocais.setVisible(true);
  
    }//GEN-LAST:event_MenuAdcLocaisActionPerformed

    private void MenuListaLocaisActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuListaLocaisActionPerformed
        listaloc.setVisible(true);
       
    }//GEN-LAST:event_MenuListaLocaisActionPerformed

    private void MenuAdcDetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuAdcDetActionPerformed
Framedet.setVisible(true);

    }//GEN-LAST:event_MenuAdcDetActionPerformed

    private void MenuAdcSupActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuAdcSupActionPerformed
Framesuspeitos.setVisible(true);

    }//GEN-LAST:event_MenuAdcSupActionPerformed

    private void MenuListaSusActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MenuListaSusActionPerformed
listsus.setVisible(true);

    }//GEN-LAST:event_MenuListaSusActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem MenuAdcCidade;
    private javax.swing.JMenuItem MenuAdcDet;
    private javax.swing.JMenuItem MenuAdcLista;
    private javax.swing.JMenuItem MenuAdcLocais;
    private javax.swing.JMenuItem MenuAdcSup;
    private javax.swing.JMenuItem MenuListaDet;
    private javax.swing.JMenuItem MenuListaLocais;
    private javax.swing.JMenuItem MenuListaSus;
    private javax.swing.JMenu MenuPrincipalCidade;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JPanel jPanel1;
    // End of variables declaration//GEN-END:variables
FrameCidade Framecidade = new FrameCidade();
    FrameDetetive Framedet = new FrameDetetive();
    FrameLocaisVisitados Framelocais = new FrameLocaisVisitados();
    FrameSuspeito Framesuspeitos = new FrameSuspeito();
    ListaCidade listacid = new ListaCidade();
    ListaLocais listaloc = new ListaLocais();
    ListaDetetive listadet = new ListaDetetive();
    ListaSuspeito listsus = new ListaSuspeito();
}
